<!DOCTYPE html>
<html class="no-js" lang="<?= $language ?>">
<head>
	<meta charset="<?= $charset ?>">
	<meta name="robots" content="noindex, nofollow">
	<meta name="viewport" content="width=device-width,target-densitydpi=160dpi,initial-scale=1,maximum-scale=1,user-scalable=0">

	<meta name="description" content="Textpattern Content Management System Administration" />
	<title><?= $title ?></title>

<!-- CSS -->

<!-- begin user editable theme area: head CSS -->

	<!-- Google font API -->
	<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Cousine">

	<link href="<?= $this->urlToStatic('/theme/classic/textpattern.css') ?>" rel="stylesheet" type="text/css" />

<!-- end user editable theme area: head CSS -->

<!-- Modernizr -->
    <script src="<?= $this->urlToStatic('/js/modernizr.js') ?>" type="text/javascript"></script>

<!-- essential JavaScript -->
	<script src="<?= $this->urlToStatic('/js/scripts.js') ?>" type="text/javascript"></script>

<? if (!empty($head_elements)): ?>
<? foreach ($head_elements as $element): ?>
	<?= $element ?>
<? endforeach; ?>
<? endif; ?>
</head>

<body id="<?= isset($body_css_id) ? $body_css_id : $selected_subtab ?>" class="<?= isset($body_css_class) ? $body_css_class : $selected_tab ?>">
	<? $this->render('header'); ?>
	<div role="main">
		<h1 class="doc-outline"><?= ucwords(str_replace('_', ' ', $selected_subtab)) ?></h1>
		<? $this->render('notify'); ?>
	<? $this->render(isset($content) ? $content : ($selected_tab . '/' . (isset($selected_subtab) ? $selected_subtab : $selected_tab))); ?>
	</div>
	<? $this->render('footer'); ?>
</body>
</html>
